package com.sneakxy.cloudbase.platform.bean.dto;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 初始化信息
 * @author 潜行的虚影
 *
 */
@Data
@ApiModel("初始化信息")
@EqualsAndHashCode
@JsonIgnoreProperties(ignoreUnknown = true)
public class InitDTO {

	@ApiModelProperty("会话ID")
	private String sessionId;
	
	@ApiModelProperty("菜单列表")
	private List<MenuDTO> menus;
	
	@ApiModelProperty("拥有角色")
	private List<String> roles;
	
	@ApiModelProperty("拥有权限")
	private List<String> permissions;
	
	@ApiModelProperty("启动模块列表")
	private List<String> launchers;
	
	@ApiModelProperty("账号信息")
	private AccountDTO account;
	
	@ApiModelProperty("头像信息")
	private String avatar;
	
	@ApiModelProperty("桌面风格")
	private String desktop;
	
}
